package com.yic.module.wms.dal.redis;

/**
 * @ClassName RedisKeyConstants
 * @Description WMS Redis Key 枚举类
 * @Author Lijx
 * @Date 2023/10/5 10:23
 * @Version 1.0
 */
public interface RedisKeyConstants {

    /**
     * 仓库的缓存
     * <p>
     * KEY 格式：warehouse:{id}
     * VALUE 仓库
     */
    String WAREHOUSE = "warehouse";

    /**
     * 库区的缓存
     * <p>
     * KEY 格式：warehouse_area:{id}
     * VALUE 库区
     */
    String WAREHOUSE_AREA = "warehouse_area";


    /**
     * 库存明细锁
     * <p>
     * KEY 格式：item_warehouse_info:{id}
     * VALUE 库存明细锁
     */
    String ITEM_WAREHOUSE_INFO = "item_warehouse_info";




}
